<?php
$SQLconnect = mysql_connect("localhost","indoor","outdoor");
$SQLlist = "SELECT * FROM best_staticPages";
	
if (!$SQLconnect) { echo("SQL Connection Error: " . mysql_error() . "\n");	}

else {
	$SQLexecute = mysql_db_query("indoor",$SQLlist,$SQLconnect);
	if (!$SQLexecute) { echo("SQL Execution Error: " . mysql_error() . "\n$SQL\n");	}
	else {
		while($rowArray = mysql_fetch_array($SQLexecute,MYSQL_ASSOC)) {;
			$bodyString .= "
<div class='best_staticPages_record'>";		$contact = $rowArray["contact"];
		$bio = $rowArray["bio"];
		$id = $rowArray["id"];

		$bodyString .= "\n<div class='frontListElement'>Contact Text: $contact</div>";
		$bodyString .= "\n<div class='frontListElement'>Bio Text: $bio</div>";
	
			$bodyString .= "
</div>";					
		}
	}
}
mysql_close($SQLconnect);
?>
<html>
	<head>
		<title>best_staticPages Front</title>
	<link rel="stylesheet" type="text/css" href="io_cms.css" />
	</head>
	<body><?php echo $bodyString; ?>
	

	</body>
</html>